﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using UWP.Douban.Controls;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

//“空白页”项模板在 http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 上有介绍

namespace UWP.Douban.Views
{
    /// <summary>
    /// 我的话题界面
    /// </summary>
    public sealed partial class MyTopicPage
    {
        public MyTopicPage()
        {
            this.InitializeComponent();
        }

        private void TopicTileControl_Tapped(object sender, TappedRoutedEventArgs e)
        {
            var control = sender as TopicTileControl;
            ThisMainPageFrame.Navigate(typeof(TopicDetailPage), control?.DataContext);
        }
    }
}
